<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文字环绕</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .box {
            width: 300px;
            height: 65px;
            background-color: pink;
            margin: 0 auto;
            padding: 5px
        }

        .pic {
            float: left;
            width: 120px;
            height: 60px;
            margin-right: 5px;
        }

        .pic img {
            width: 100%;
        }

        .box p {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }
    </style>

</head>

<body>
    <div class="box">
        <div class="pic">
            <img src="图片/王者荣耀.jpeg">
        </div>
        <p> 文案的最终目的是转化,文案想被人记住,创意必不可少。而要想做一个有创意的文案,离不开洞察力。有句话说得好:“一个优秀的文</p>
    </div>
</body>

</html>